spring:
  application:
    name: mongotest
  datasource:
    url: jdbc:postgresql://localhost:5432/mongotest
    username: user
    password: password

  data:
    mongodb:
      uri: mongodb://localhost:27017/database_test1

#  data:
#    mongodb:
#      host: localhost
#      port: 27017
#      database: database_test1
#      username:
#      password:

#  либо одной строкой:
#  mongodb://<username>:<password>@<host>:<port>/<database>

server:
  port: 8111